<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Response
 *
 * @author bom
 */
class My_Controller_Plugin_Response extends Zend_Controller_Plugin_Abstract {

    //put your code here
    #
    public function postDispatch(Zend_Controller_Request_Abstract $request) {
        $request = new Zend_Controller_Request_Http();
        $path = $request->getPathInfo();
        $url = new Zend_Session_Namespace('url');
        if($path != '/user/account/login'){
            $url->previous = $path;
        }
    }

    public function preDispatch(Zend_Controller_Request_Abstract $request) {
        
    }
}

?>
